]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "hy",
"name": "Armenian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ar",
"name": "Arabic"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "bg",
"name": "Bulgarian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "be",
"name": "Belarusian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "fr-CA",
"name": "French Canada"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "cs",
"name": "Czech"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "de",
"name": "German"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "da",
"name": "Danish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "et",
"name": "Estonian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "eo",
"name": "Esperanto"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ca",
"name": "Catalan"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "es",
"name": "Spanish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "fi",
"name": "Finnish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "fr",
"name": "French"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ka",
"name": "Georgian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "el",
"name": "Greek"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "hr",
"name": "Croatian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "hu",
"name": "Hungarian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "id",
"name": "Indonesian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "he",
"name": "Hebrew"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "hi",
"name": "Hindi"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "is",
"name": "Icelandic"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "it",
"name": "Italian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "sw",
"name": "Swahili"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ky",
"name": "Kirghiz"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 7,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "km",
"name": "Khmer"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 7,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "lo",
"name": "Lao"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "es-US",
"name": "Spanish United States"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "lt",
"name": "Lithuanian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "lv",
"name": "Latvian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "mk",
"name": "Macedonian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "mn",
"name": "Mongolian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ms",
"name": "Malay"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "nl",
"name": "Dutch"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "fil",
"name": "Filipino"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "pl",
"name": "Polish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "pt-PT",
"name": "Portuguese Portugal"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ro",
"name": "Romanian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "sr",
"name": "Serbian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "ru",
"name": "Russian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "sv",
"name": "Swedish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "sl",
"name": "Slovenian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "sk",
"name": "Slovak"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 7,
"strings": [
" "
]
]
},
{
+ "width": 7,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "tr",
"name": "Turkish"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 6,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "uk",
"name": "Ukrainian"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "en-GB",
"name": "English Great Britain"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "en",
"name": "English United States"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "vi",
"name": "Vietnamese"
-}
\ No newline at end of file
+}
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 5,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
]
},
{
+ "width": 3,
"strings": [
" "
]
],
"locale": "af",
"name": "Afrikaans"
-}
\ No newline at end of file
+}
const {strings} = key;
let button = new Key(strings.shift(), strings);
- /* Space key gets special width, dependent on the number of surrounding keys */
- if (button.key == ' ')
- button.setWidth(keys.length <= 3 ? 5 : 3);
+ if (key.width !== null)
+ button.setWidth(key.width);
button.connect('pressed', (actor, keyval, str) => {
if (!Main.inputMethod.currentFocus ||